/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.satiri.trekotrek.models;

/**
 *
 * @author satiri.a@gmail.com
 */
public class HardDrive extends ComputerPart {

    private int size;   // depend on size_code
    private float width; //3.5 or 5.25 inch
    private String size_code; //M = MegaBytes, G = GigaBytes, T = TerraBytes, P = PetaBytes

    /**
     * @return the size
     */
    public int getSize() {
        return size;
    }

    /**
     * @param size the size to set
     */
    public void setSize(int size) {
        this.size = size;
    }

    /**
     * @return the width
     */
    public float getWidth() {
        return width;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(float width) {
        this.width = width;
    }

    /**
     * @return the size_code
     */
    public String getSize_code() {
        return size_code;
    }

    /**
     * @param size_code the size_code to set
     */
    public void setSize_code(String size_code) {
        this.size_code = size_code;
    }
}
